import { InbizIcon } from '@inbiz/utils';
import styles from './index.less';

const EmptySetting = (props: {
  icon?: string;
  iconSize?: number;
  iconColor?: string;
  description?: string;
}) => {
  return (
    <>
      <div className={styles['empty-setting']}>
        <InbizIcon
          type={props?.icon || 'icon-dongtailiebiao-weipeizhiqueshengtu'}
          style={{
            fontSize: props?.iconSize || 50,
            color: props?.iconColor || '#bfbfbf',
          }}
        />
        <p className={styles['empty-setting-description']}>{props?.description || '暂无数据'}</p>
      </div>
    </>
  );
};

export default EmptySetting;
